package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 类目表 服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface CategoryService extends IService<Category> {


    List<Category> getMenu();

    Page<Category> getCategories(String name, Integer id, String sort, String order, int page, int limit);

    List<Category> getLevel1();

    Object getCategoriesById(Integer id);
}
